win conda安装pip rawpy 更新pip 您所在的位置:网站首页 msfilereader 怎么安装 win conda安装pip rawpy 更新pip

win conda安装pip rawpy 更新pip

2024-07-03 11:03| 来源: 网络整理| 查看: 265

问题:

安装包时候需要对pip 更新

pip install rawpy 报错

You are using pip version 9.0.1, however version 18.1 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command. 解决:

运行

python -m pip install --upgrade pip

并不能安装,同样的错误。 所以可能是需要通过conda安装

打开conda navigator 发现pip 只有9.0.1版本

conda install pip 两种方式仍然是9.0.1版本。

所以要更新conda

conda install mingw libpython Fetching package metadata ..... Solving package specifications: . Package plan for installation in environment I:\ananconda: The following NEW packages will be INSTALLED: libpython: 2.0-py36_0 https://mirrors.ustc.edu.cn/anaconda/pkgs/free mingw: 4.7-1 https://mirrors.ustc.edu.cn/anaconda/pkgs/free The following packages will be SUPERSEDED by a higher-priority channel: conda-env: 2.6.0-h36134e3_1 defaults --> 2.6.0-0 https://mirrors.ustc.edu.cn/anaconda/pkgs/free Proceed ([y]/n)? Y conda-env-2.6. 100% |###############################| Time: 0:00:00 27.65 kB/s mingw-4.7-1.ta 100% |###############################| Time: 0:00:28 2.04 MB/s libpython-2.0- 100% |###############################| Time: 0:00:00 1.33 MB/s

再次执行 python -m pip install --upgrade pip

Cache entry deserialization failed, entry ignored Cache entry deserialization failed, entry ignored Collecting pip Downloading https://files.pythonhosted.org/packages/c2/d7/90f34cb0d83a6c5631cf71dfe64cc1054598c843a92b400e55675cc2ac37/pip-18.1-py2.py3-none-any.whl (1.3MB) 100% |████████████████████████████████| 1.3MB 94kB/s Installing collected packages: pip Found existing installation: pip 9.0.1 Uninstalling pip-9.0.1: Successfully uninstalled pip-9.0.1 Successfully installed pip-18.1

再次安装rawpy

pip install rawpy 就不报错了

Collecting rawpy Downloading https://files.pythonhosted.org/packages/42/a8/424b59af7e9ced2a193941d39f2d9bd8049d1b92cfc704ef50657eb547fb/rawpy-0.13.1-cp36-cp36m-win_amd64.whl (541kB) 100% |████████████████████████████████| 542kB 146kB/s Requirement already satisfied: numpy in i:\ananconda\lib\site-packages (from rawpy) (1.13.3) Installing collected packages: rawpy Successfully installed rawpy-0.13.1


【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

    专题文章
      CopyRight 2018-2019 实验室设备网 版权所有